import { apiResquest } from '@/utils/request.js'
export const userLogin = (query) => {
	return apiResquest({
		url: '/api/user/login',
		method: 'POST',
		data:query
	})
}
// 注册
export const userRegister = (query) => {
	return apiResquest({
		url: '/api/user/register',
		method: 'POST',
		data:query
	})
}